x=1

while x<=9:
    y=1
    while y<=x:
        z=x*y
        print(x,"*",y,"=",z,end="\t")
        y+=1
    else:
     print("\n")
     x+=1

